<br/>
<h3>list of sites hosted on sitegeist:</h3>
<?php
include'plugin/base/.db/connect.php';



$q=$db->prepare("SELECT name FROM sg_sites LIMIT 20");
$q->execute(); //array($_POST['fish'], $_POST['chef'])
while($result=$q->fetchObject()){
    echo '<a href="index2.php?site=',$result->name,'&plugin=base&page=site">',$result->name,'</a><br/>';
}



?>